package io.kiki.sba.registry.server.metadata.bootstrap.config;

import java.util.Set;


public interface ServerConfig {
    String getLocalDataCenter();

    boolean isLocalDataCenter(String dataCenter);

    Set<String> getLocalDataCenterZones();

    int getSessionServerPort();

    int getDataServerPort();

    int getMetaServerPort();

    int getHttpServerPort();

    int getExpireCheckIntervalMillis();

    int getDataNodeExchangeTimeoutMillis();

    int getSessionNodeExchangeTimeoutMillis();

    int getMetaNodeExchangeTimeoutMillis();

    int getDefaultRequestExecutorMinSize();

    int getDefaultRequestExecutorMaxSize();

    int getDefaultRequestExecutorQueueSize();

    long getMetaLeaderWarmupMillis();

    int getSchedulerHeartbeatIntervalSecs();

    long getDataReplicateMaxGapMillis();

    int getRevisionGcSilenceHour();

    int getRevisionGcInitialDelaySecs();

    int getRevisionGcSecs();

    int getMetaSchedulerPoolSize();

    int getDataNodeProtectionNum();

    int getClientManagerRefreshMillis();

    int getClientManagerWatchMillis();

    int getClientManagerRefreshLimit();

    int getClientManagerCleanSecs();

    int getClientManagerExpireDays();

    int getAppRevisionMaxRemove();

    int getInterfaceMaxRemove();

    int getAppRevisionCountAlarmThreshold();
}
